class Config(object):
    def getBaseConfig(self, baseSelf):
        # 登录的url
        baseSelf.login_url  = "https://kyfw.12306.cn/otn/resources/login.html"
        # 个人主页
        baseSelf.initMy_url = "https://kyfw.12306.cn/otn/view/index.html"
        # 查票
        baseSelf.search_url = "https://kyfw.12306.cn/otn/leftTicket/init"

        return baseSelf
    def getInputConfig(self, inputSelf):
        # 出发地
        inputSelf.start = '成都东'
        inputSelf.to_station = '合川'

        # 最早出发时间
        inputSelf.start_time_limit = '07:30'
        # 最晚出发时间
        inputSelf.end_time_limit = '18:00'

        inputSelf.start_time = '2024-10-01'
        # [2]商务座,[3]优选一等座,[4]一等座,[5]二等座,[6]高级软卧,[7]软卧,[8]硬卧,[9]软座,[10]硬座,[11]无座
        inputSelf.seat = [5]
        inputSelf.seatZH = {
            2:'商务座',
            3:'优选一等座',
            4:'一等座',
            5:'二等座',
            6:'高级软卧',
            7:'软卧',
            8:'硬卧',
            9:'软座',
            10:'硬座',
            11:'无座'
          }

        return inputSelf